package cn.gztang.controller;

import cn.gztang.entity.dto.ResultBean;
import cn.gztang.service.GasTankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author GaoFeng2017
 * @date 2018/9/6 13:37
 */
@Controller
@RequestMapping("/gas-tank")
public class TestController {

    @Autowired
    private GasTankService gasTankService;

    @RequestMapping("/test")
    @ResponseBody
    public Object test() {
        return new ResultBean<>("hello spring");
    }

}
